package com.alks.function.service.impl.stockdept.pcfactorystockquery;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MyOrdDto {

    private Integer id;

    @ApiModelProperty(value = "类别")
    private String purType;

    @ApiModelProperty(value = "型体")
    private String purStyle;

    @ApiModelProperty(value = "颜色")
    private String purColor;

    @ApiModelProperty(value = "指令")
    private String purLot;

    @ApiModelProperty(value = "指令")
    private String mtlType;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "订单号")
    private String purNo;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "订购时间")
    private LocalDateTime purDate;

    @ApiModelProperty(value = "请购数量")
    private Float qty;

    @ApiModelProperty(value = "预加量")
    private Float overQty;

    @ApiModelProperty(value = "多购数量")
    private Float minusQty;

    @ApiModelProperty(value = "订单数量")
    private Float purQty;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "送货方式")
    private String sendType;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "需求交期")
    private LocalDateTime vendorDate;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "回复交期")
    private LocalDateTime inDate;

    @ApiModelProperty(value = "贴合备注")
    private String purMemo;

    @ApiModelProperty(value = "采购员")
    private String sysUser;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "导出日期")
    private LocalDateTime expDate;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "请购单号")
    private String reqNo;

    @ApiModelProperty(value = "请购部门ID")
    private String reqDept;

    @ApiModelProperty(value = "请购部门名称")
    private String reqDeptName;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @ApiModelProperty(value = "请购日期")
    private LocalDateTime reqDate;

    @ApiModelProperty(value = "需求日期")
    private LocalDateTime reqRta;

    @ApiModelProperty(value = "采购备注")
    private String reqMemo;

    @ApiModelProperty(value = "请购备注")
    private String remark;

    @ApiModelProperty(value = "取消数量")
    private Float cancelQty;

    @ApiModelProperty(value = "公司ID")
    private String companyId;
}
